import { Controller, Get, Post, Render, Request, Response } from '@nestjs/common';
import { AppService } from './app.service';
import { ApiTags, ApiOperation } from '@nestjs/swagger';
@Controller()
@ApiTags('首页')
export class AppController {
  constructor(
    private readonly appService: AppService,
  ) { }

  @Get()
  async getHello(): Promise<string> {
    return await this.appService.getHello()
  }

}
